<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>RRRSRoguelike: RRRSRoguelike.Helpers.Panel Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Generated by Doxygen 1.7.3 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Search');
--></script>
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="RRRSRoguelike.ico"></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">RRRSRoguelike&#160;<span id="projectnumber">0.3.0.</span></div>
   <div id="projectbrief">This is a Roguelike C# game that has a really simple goal - pickup a sword and kill the monster(s). Of course if you don't pickup the sword you can guess what happens.</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Packages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li id="searchli">
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespace_r_r_r_s_roguelike.html">RRRSRoguelike</a>      </li>
      <li class="navelem"><a class="el" href="namespace_r_r_r_s_roguelike_1_1_helpers.html">Helpers</a>      </li>
      <li class="navelem"><a class="el" href="class_r_r_r_s_roguelike_1_1_helpers_1_1_panel.html">Panel</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<h1>RRRSRoguelike.Helpers.Panel Class Reference</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="RRRSRoguelike::Helpers::Panel" -->
<p>Contains the code for displaying text within the game panels.  
<a href="#_details">More...</a></p>
<div class="dynheader">
Collaboration diagram for RRRSRoguelike.Helpers.Panel:</div>
<div class="dyncontent">
<div class="center"><img src="class_r_r_r_s_roguelike_1_1_helpers_1_1_panel__coll__graph.png" border="0" usemap="#_r_r_r_s_roguelike_8_helpers_8_panel_coll__map" alt="Collaboration graph"/></div>
<map name="_r_r_r_s_roguelike_8_helpers_8_panel_coll__map" id="_r_r_r_s_roguelike_8_helpers_8_panel_coll__map">
<area shape="rect" id="node25" href="class_r_r_r_s_roguelike_1_1_screens_1_1_quit_screen.html" title="RRRSRoguelike.Screens.QuitScreen" alt="" coords="501,193,737,220"/><area shape="rect" id="node2" href="class_r_r_r_s_roguelike_1_1_helpers_1_1_dungeon_visualizer.html" title="RRRSRoguelike.Helpers.DungeonVisualizer" alt="" coords="1661,153,1936,180"/><area shape="rect" id="node23" href="class_r_r_r_s_roguelike_1_1_managers_1_1_dungeon_manager.html" title="RRRSRoguelike.Managers.DungeonManager" alt="" coords="921,256,1202,283"/><area shape="rect" id="node4" href="class_r_r_r_s_roguelike_1_1_helpers_1_1_camera.html" title="RRRSRoguelike.Helpers.Camera" alt="" coords="1353,101,1565,128"/><area shape="rect" id="node6" href="struct_r_r_r_s_roguelike_1_1_helpers_1_1_dungeon_square.html" title="RRRSRoguelike.Helpers.DungeonSquare" alt="" coords="489,79,748,105"/><area shape="rect" id="node8" href="class_r_r_r_s_roguelike_1_1_helpers_1_1_layer.html" title="RRRSRoguelike.Helpers.Layer" alt="" coords="962,136,1161,163"/><area shape="rect" id="node11" href="class_r_r_r_s_roguelike_1_1_entities_1_1_player.html" title="Player inherits from creature." alt="" coords="1357,288,1561,315"/><area shape="rect" id="node31" href="class_r_r_r_s_roguelike_1_1_managers_1_1_creature_manager.html" title="Manages all creatures." alt="" coords="1659,340,1938,367"/><area shape="rect" id="node13" href="class_r_r_r_s_roguelike_1_1_entities_1_1_creature.html" title="base class for all living entities" alt="" coords="1026,371,1097,397"/><area shape="rect" id="node15" href="class_r_r_r_s_roguelike_1_1_entities_1_1_tile.html" title="Tile" alt="" coords="5,231,48,257"/><area shape="rect" id="node41" href="class_r_r_r_s_roguelike_1_1_entities_1_1_fireball.html" title="RRRSRoguelike.Entities.Fireball" alt="" coords="123,5,333,32"/><area shape="rect" id="node17" href="class_r_r_r_s_roguelike_1_1_managers_1_1_action_manager.html" title="Stores a list of actions along with the keys mapped to those actions Checks action map against the in..." alt="" coords="485,371,752,397"/><area shape="rect" id="node19" href="class_r_r_r_s_roguelike_1_1_managers_1_1_input_manager.html" title="RRRSRoguelike.Managers.InputManager" alt="" coords="99,368,357,395"/><area shape="rect" id="node21" href="class_r_r_r_s_roguelike_1_1_helpers_1_1_action_map.html" title="RRRSRoguelike.Helpers.ActionMap" alt="" coords="113,419,343,445"/><area shape="rect" id="node27" href="class_r_r_r_s_roguelike_1_1_screens_1_1_screen.html" title="Screen" alt="" coords="197,193,259,220"/><area shape="rect" id="node35" href="class_r_r_r_s_roguelike_1_1_helpers_1_1_dungeon.html" title="RRRSRoguelike.Helpers.Dungeon" alt="" coords="509,260,728,287"/><area shape="rect" id="node39" href="class_r_r_r_s_roguelike_1_1_managers_1_1_prop_manager.html" title="RRRSRoguelike.Managers.PropManager" alt="" coords="490,137,747,164"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="class_r_r_r_s_roguelike_1_1_helpers_1_1_panel-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_r_r_r_s_roguelike_1_1_helpers_1_1_panel.html#ab609d7b78dcc0c07e8a83c295ce56677">Panel</a> (Point position, int width, int height, string borderCharacter=&quot;+&quot;, ConsoleColor borderColor=ConsoleColor.White)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates an instance of panel.  <a href="#ab609d7b78dcc0c07e8a83c295ce56677"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_r_r_r_s_roguelike_1_1_helpers_1_1_panel.html#a4c62813cbfa30e82d1932004f75dbf97">Clear</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_r_r_r_s_roguelike_1_1_helpers_1_1_panel.html#ac26457361efea7cc2bba0eda543d7719">Write</a> (string text, ConsoleColor color=ConsoleColor.White, <a class="el" href="namespace_r_r_r_s_roguelike.html#af9ac88d47fff2e3a6a776cb4a77b4fa7">TextAlignment</a> textAlignment=TextAlignment.Single, StringSplitOptions options=StringSplitOptions.None)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_r_r_r_s_roguelike_1_1_helpers_1_1_panel.html#a5d70535db3e70af89c3a7bc26143ab45">Draw</a> ()</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Contains the code for displaying text within the game panels. </p>

<p>Definition at line <a class="el" href="_panel_8cs_source.html#l00014">14</a> of file <a class="el" href="_panel_8cs_source.html">Panel.cs</a>.</p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ab609d7b78dcc0c07e8a83c295ce56677"></a><!-- doxytag: member="RRRSRoguelike::Helpers::Panel::Panel" ref="ab609d7b78dcc0c07e8a83c295ce56677" args="(Point position, int width, int height, string borderCharacter=&quot;+&quot;, ConsoleColor borderColor=ConsoleColor.White)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">RRRSRoguelike.Helpers.Panel.Panel </td>
          <td>(</td>
          <td class="paramtype">Point&#160;</td>
          <td class="paramname"><em>position</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>height</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>borderCharacter</em> = <code>&quot;+&quot;</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ConsoleColor&#160;</td>
          <td class="paramname"><em>borderColor</em> = <code>ConsoleColor.White</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates an instance of panel. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">point</td><td></td></tr>
    <tr><td class="paramname">width</td><td></td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_panel_8cs_source.html#l00045">45</a> of file <a class="el" href="_panel_8cs_source.html">Panel.cs</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a4c62813cbfa30e82d1932004f75dbf97"></a><!-- doxytag: member="RRRSRoguelike::Helpers::Panel::Clear" ref="a4c62813cbfa30e82d1932004f75dbf97" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void RRRSRoguelike.Helpers.Panel.Clear </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_panel_8cs_source.html#l00061">61</a> of file <a class="el" href="_panel_8cs_source.html">Panel.cs</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_r_r_r_s_roguelike_1_1_helpers_1_1_panel_a4c62813cbfa30e82d1932004f75dbf97_icgraph.png" border="0" usemap="#class_r_r_r_s_roguelike_1_1_helpers_1_1_panel_a4c62813cbfa30e82d1932004f75dbf97_icgraph" alt=""/></div>
<map name="class_r_r_r_s_roguelike_1_1_helpers_1_1_panel_a4c62813cbfa30e82d1932004f75dbf97_icgraph" id="class_r_r_r_s_roguelike_1_1_helpers_1_1_panel_a4c62813cbfa30e82d1932004f75dbf97_icgraph">
<area shape="rect" id="node3" href="class_r_r_r_s_roguelike_1_1_screens_1_1_screen.html#ab6e4f1341ffb07b5a9cad7b7dcacbc30" title="RRRSRoguelike.Screens.Screen.Clear" alt="" coords="309,29,555,56"/><area shape="rect" id="node6" href="class_r_r_r_s_roguelike_1_1_screens_1_1_replay_screen.html#a9821f2a3b01671b9d272e5016ac0299c" title="RRRSRoguelike.Screens.ReplayScreen.Show" alt="" coords="288,80,576,107"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a5d70535db3e70af89c3a7bc26143ab45"></a><!-- doxytag: member="RRRSRoguelike::Helpers::Panel::Draw" ref="a5d70535db3e70af89c3a7bc26143ab45" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void RRRSRoguelike.Helpers.Panel.Draw </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_panel_8cs_source.html#l00108">108</a> of file <a class="el" href="_panel_8cs_source.html">Panel.cs</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_r_r_r_s_roguelike_1_1_helpers_1_1_panel_a5d70535db3e70af89c3a7bc26143ab45_cgraph.png" border="0" usemap="#class_r_r_r_s_roguelike_1_1_helpers_1_1_panel_a5d70535db3e70af89c3a7bc26143ab45_cgraph" alt=""/></div>
<map name="class_r_r_r_s_roguelike_1_1_helpers_1_1_panel_a5d70535db3e70af89c3a7bc26143ab45_cgraph" id="class_r_r_r_s_roguelike_1_1_helpers_1_1_panel_a5d70535db3e70af89c3a7bc26143ab45_cgraph">
<area shape="rect" id="node3" href="class_r_r_r_s_roguelike_1_1_helpers_1_1_dungeon_visualizer.html#ae546667393063485a02d50d86e01a32d" title="Wraps the console write line should make it easier to port later." alt="" coords="289,5,623,32"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_r_r_r_s_roguelike_1_1_helpers_1_1_panel_a5d70535db3e70af89c3a7bc26143ab45_icgraph.png" border="0" usemap="#class_r_r_r_s_roguelike_1_1_helpers_1_1_panel_a5d70535db3e70af89c3a7bc26143ab45_icgraph" alt=""/></div>
<map name="class_r_r_r_s_roguelike_1_1_helpers_1_1_panel_a5d70535db3e70af89c3a7bc26143ab45_icgraph" id="class_r_r_r_s_roguelike_1_1_helpers_1_1_panel_a5d70535db3e70af89c3a7bc26143ab45_icgraph">
<area shape="rect" id="node3" href="class_r_r_r_s_roguelike_1_1_screens_1_1_replay_screen.html#a9821f2a3b01671b9d272e5016ac0299c" title="RRRSRoguelike.Screens.ReplayScreen.Show" alt="" coords="288,5,576,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ac26457361efea7cc2bba0eda543d7719"></a><!-- doxytag: member="RRRSRoguelike::Helpers::Panel::Write" ref="ac26457361efea7cc2bba0eda543d7719" args="(string text, ConsoleColor color=ConsoleColor.White, TextAlignment textAlignment=TextAlignment.Single, StringSplitOptions options=StringSplitOptions.None)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void RRRSRoguelike.Helpers.Panel.Write </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>text</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ConsoleColor&#160;</td>
          <td class="paramname"><em>color</em> = <code>ConsoleColor.White</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespace_r_r_r_s_roguelike.html#af9ac88d47fff2e3a6a776cb4a77b4fa7">TextAlignment</a>&#160;</td>
          <td class="paramname"><em>textAlignment</em> = <code>TextAlignment.Single</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">StringSplitOptions&#160;</td>
          <td class="paramname"><em>options</em> = <code>StringSplitOptions.None</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_panel_8cs_source.html#l00079">79</a> of file <a class="el" href="_panel_8cs_source.html">Panel.cs</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_r_r_r_s_roguelike_1_1_helpers_1_1_panel_ac26457361efea7cc2bba0eda543d7719_cgraph.png" border="0" usemap="#class_r_r_r_s_roguelike_1_1_helpers_1_1_panel_ac26457361efea7cc2bba0eda543d7719_cgraph" alt=""/></div>
<map name="class_r_r_r_s_roguelike_1_1_helpers_1_1_panel_ac26457361efea7cc2bba0eda543d7719_cgraph" id="class_r_r_r_s_roguelike_1_1_helpers_1_1_panel_ac26457361efea7cc2bba0eda543d7719_cgraph">
<area shape="rect" id="node3" href="class_r_r_r_s_roguelike_1_1_helpers_1_1_dungeon_visualizer.html#aa86728c8679e2c47e2f8da1b015b4cf0" title="RRRSRoguelike.Helpers.DungeonVisualizer.BuildString" alt="" coords="298,5,641,32"/><area shape="rect" id="node5" href="class_r_r_r_s_roguelike_1_1_helpers_1_1_dungeon_visualizer.html#a996b3eb462cd663b589433b6e2f09651" title="Accepts text and a width adds spaces to text to centralize. Text should be one line and shorter than ..." alt="" coords="288,56,651,83"/><area shape="rect" id="node7" href="class_r_r_r_s_roguelike_1_1_helpers_1_1_dungeon_visualizer.html#ae546667393063485a02d50d86e01a32d" title="Wraps the console write line should make it easier to port later." alt="" coords="302,107,637,133"/><area shape="rect" id="node9" href="class_r_r_r_s_roguelike_1_1_helpers_1_1_dungeon_visualizer.html#ae0915f42105737531f37a9286acc1222" title="RRRSRoguelike.Helpers.DungeonVisualizer.WriteMultiLine" alt="" coords="288,157,651,184"/></map>
</div>
</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>C:/Users/Andrew Sadler/Desktop/Sync/RRRS Rogue/RootII/rrrsroguelike/RRRSRoguelike/Helpers/<a class="el" href="_panel_8cs_source.html">Panel.cs</a></li>
</ul>
</div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Properties</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Events</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr class="footer"/><address class="footer"><small>Generated on Fri Aug 24 2012 20:45:13 for RRRSRoguelike by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address>
</body>
</html>
